Is there any way to set function as value for configuration property,particularly for BasicDialog.I need to set animateTarget to event.srcElement,something similar to JQuery's http://jquery.com/blog/2007/01/14/jq...site-new-docs/ would be great.Yes,I know about "beforeshow" event,but event handler is to heavyweight in this case,don't you think?

Thanks.