Grid Editor in Modal Dialog

If modal dialog was moved from the original position, the grid editors are positioned incorrectly (out of the grid bounds).