change delete checkbox toggle to state so tasks that are added when checkboxes are shown don't show checkboxes when they are hidden
make all buttons dismiss the modal when actions are done
move trash button click with other delete handlers