fix a dialog regression

Fix an issue with the properties and error dialogs. The properties dialog was unable to open (#2567), and the error dialogs had lost their titles. @gaurave, @ussuri