Is there any way to validate the input file type when using the Edit widget, so that only images are permitted to be attached for example?