Hi Javier,
I might be misunderstanding, but why don’t you just queue a custom event on the alert dialog that dismisses and kicks off the transition? Ie: nUIController.eventListenerQueue (alert_dialog, CUSTOM_EVENT_0);
The transitionFrom call you are making will potentially set up things like back buttons, etc. so that when you create your dummy button as the back button it overrides the previous back button that was set up by transitionFrom, if that makes sense. If your idea is to transition from your Details View (that has the alert dialog on top of it) back to the Inbox View I am pretty sure you can just .transitionFrom (pop_up_dialog) and then either trigger the back button that was defined for the Details View or skip the event queue processing for back and directly transitionToView(inbox_view).
One thing you can keep in mind is that you should be getting EVT_TRANSITION_FROM_COMPLETE on an element (say a popup dialog) when a transition finishes, so you can then queue events after that.
Cheers,
Spencer
#webMethods-General#mobile#Integration-Server-and-ESB#webMethods