opening lightbox manually

I have a dblclick handler, which does some magic and then opens the lightbox to edit the event.

The problem I am trying to solve is, getting the event out of the edit state. I tried, scheduler.editStop(event_id) and scheduler.unselect(event_id). In both cases, the edit triggered by the dblclick stays and I have to click on the calendar’s empty space to get the clicked event back to normal. Saving the lightbox works too - but if I cancel out, I still have a problem.

Kate

for inline edit
scheduler.editStop();//close and ignore current text
or
scheduler.editStop(true);//close and save current text

for lightbox
scheduler.cancel_lightbox()
or
scheduler.save_lightbox();