Fix for some bugs in modify event page