disable click to close