Implementing popup and working on ui styles.
Fixed bug where recently closed could be focused when closed
Fixed some bugs.

* Popup gray overlay wouldn't fade in when popup is first shown.
* Popups with the default 'OK' button don't close when button is clicked.