Grids: Unify operation handling, use new popups, refactor, bug fixes