remove page reloading after editing and deleting list of events