set session variable edit_event to false
set edit_event to false
add id close
add an event for #close