Bugfix: Datepicker tries to get an instance when he should not

Bugfix: Datepicker tries to get an Instance, while I click on a swfupload button. This was tested and is reproduceable in IE9. Then of course, the instance fails and throws the Exception. As a result, the file picker is not shown. 

This commit checks if the click happens really on a target from Datepicker