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 fulfilled once the modal's close
animation has finished.