fixes bug #464, which happens when controls is None, which leads to args_to being None.
Attach a file by drag & drop or click to upload