How to close first modal befor navigating third modal


#1

In OrderListModal page when OrderDetailModal opens and order accepted I want to go third modal “DeliveryProcessModal” but in same time two previous modals should be closed. second modal is easy to close but I dont know how to close first modal in navigating process.


#2

use secondmodalName.hide() in the closing callback of either first or third modal.


#3

Tnx @abhi123 I used ondismess() method on first modal but when I press back button it fails.


#4

glad to help…