Added fixes for the dialog extender.