Fix opening and closing.
Use checkbox instead of button