disable close control on title bar