We have to work around the limitation of GtkDialogs with CSD not having the min and max buttons. This is done by changing the type-hint from "dialog" to "normal".
As a result of that change, we also have to manually center the window on the active screen.
List of type-hint changes which should be reverted: #26 (comment 15913)
Fixes: #26 (closed)