Fix department modals in create and edit forms

#108