dialog: remove setTimeout() in Dialog#render()

The displaying of the dialog is deferred by removing the hide class in
a setTimeout() call. A subsequent call to Dialog#show() might calculate
a wrong dialog width due to the deferred hide class removal.
dialog: remove duplicate show event in Dialog#show()