Arrived at a decent situation for HTML dialogs