Only launch modal when checkbox is checked