expose a reposition method to allow manual repositioning
Added escCloseAll option to control if all popups or only the topmost popup should be closed after pressing esc