In this page the ModalController is presented, and when I try it I see something weird: there are two ways to dismiss the modal, by clicking in the toolbar’s ‘Close’ button, next to the modal’s title, or by clicking the ‘Close Modal’ at the bottom.
How can I create a modal without that ‘Close’ button in the toolbar and just stay with the other one below? I couldn’t find anything on the Internet about this topic.
Thanks in advance.