The handle will be closed by free_custom_action_data, so duplicate the handle before calling it.
Attach a file by drag & drop or click to upload