[FIX]modal: when closing a modal, focus previous one to allow several escape hit key