fix for delete mode on drawer widgets