-- opening a popup will now return two promises (opened & closed). which will resolve on respective actions. - Also it is now possible to send some data with prop name "payload" in show/hide methods