Move dialog window Hide button to a top toolbar
- add a way to move/snap dialogs to the side
Add handler for the "Snap to Side" button
- apply the snapRight CSS class to the dialog