Added $allowed_actions to GalleryUploadFIeld and Item Handler