fixes form close btn