Trying to fix the schedule edit form but failed

* Somehow the modal doesn't show up