move popup and dialog js code for month view
make it so can delete an assignment after add it via ajax in week view