hide controls on close