make sure edit event loaded data before trying to interact with it