Closes a currently opened popup overlay.
Does nothing if no popup is currently open.
Emits events up:popup:close and up:popup:closed.
See options for up.animate().
A promise that will be resolved once the modal's close
animation has finished.