fix drag n drop in activity page when attachment for activity is disabled