setting window flag to popup, to hide the title bar