added hook to resize input type=file after hidden form is shown