Here is my scenario.
App loads and main screen is display
User clicks on item and an Item Detail POPUP is displayed
On this Item Detail Popup, the user clicks on the DELETE button
A second POPUP is displayed asking the user to confirm the deletion
User clicks CONFIRM and the 'delete' service is called
On the SUCCESS of the service call, I want to return to the main screen (point 1). I have tried calling the CLOSE POPUP event for both the Confirmation and the Item Detail but the Item Detail does not close.
I have also tried doing an Appery.navigateTo but this 'almost' works. The main screen is indeed displayed but I noticed that the first click I make after that fails (nothing happens). I have to click twice to get something to happen.
What is the best way to do this?