Add reload page hint.
Install dialog handling.
Add dialog structure to HTML.
Finish modal functionality.