Interface: moved task modal js to different js file