I have a grid component with 1 embedded grid. I want to check if the embedded grid is dirty when the user attempts to close the parent grid.