Not being able to restore the dialog sounds strange.
If you could exmplain more maybe it will help to understand whats going on.
Regarding the minimize button, you can get rid of it by passing the correct widget flags to the dialog constructor.