I noticed that popups will fire the popupafterclose when you close the popup AND when the page is switched to another page (when the popup is already closed). Should it be this way?
When i exit that page...aPopups close event will fire off EVEN if i didn´t open it in the first place WHEN i switch page with: $.mobile.changePage('../remove/remove.html');
If i opened it...it will first fire off when i close the actual popup....then again when i switch page. This doesn´t seem right.
Note: i am using separate HTML files for each of the pages.