Revert "FIX:1311359 add close button to dev-mode window"

This broke the close button for platforms that are not GTK3