private void openMonitor(final int browserId, final int tabId,
final TabModel tabModel) {
assert (tabModel != null);
Windows.create(MONITOR_RESOURCE_PATH + "?tabId=" + tabId + "&browserId="
+ Integer.toString(browserId), 0, 0, 850, 700, new OnWindowCallback() {
public void onWindow(Window window) {
tabModel.monitorClosed = false;
// The Tab containing the Monitor UI should not have a valid browser
// action button.
Tabs.getSelected(window.getId(), new OnTabCallback() {