How to force IonicModal to close?

I have a IonicModal with a html form inside of it, (my login screen)
However after I run ‘modal.hide()’, the modal stays open until I reload (refresh) the page.

If in debug mode I view the isShown() property of the modal after I run hide(), I receive the value false (as if the modal isn’t show),
However the modal is open (again, until the page isn’t reload).

What am I doing wrong??, and does I have to refresh my page each time I close my modals???