fixed annoying close button shit

Signed-off-by: FNox <kamaitama@gmail.com>