Fixed bug with untitled title for dialog