jQuery ColorBox onOpen event fires after overlay is displayed

jQuery ColorBox onOpen event fires after overlay is displayed

Hi,
 
When using onOpen event, it fires after overlay is displayed. So I was wondering if there is a way to hook my code to an event that will fire before anything else happens.
 
I think it will be possible to handle "onclick" event and then cancel further processing, but I would like to have a cleaner solution.
 
Thanks