fix issue with dropping files while on item page or edit modal