Bugfix. Open file upload dialog when a buttonClass is defined.