I have found this an issue with smartphones and it can relate to desktops. We have 'modded' our bootstrap modal to be responsive, however when displayed on a smartphone it is in full screen, the user assumes the modal is a page and clicks back to 'close' it. We have included the in the top right X but would also like the back button to close the modal. Anyone have any ideas?
Thanks
Easiest way is to make user feel that its pop-up or model not a new page, by using some margins or making it span10 offset1 kind of.
Another way around is Open and Close method which is described here
And the best method is
Described here
for controlling back button from iFrame, try this may help (not tested)
A better way i found thanks to http://www.mylearning.in/2015/06/close-modal-pop-up-on-back-button.html