AdminGrid: better support for modal windows.