DynamicForm and GWT DialogBox obstruction issue

I am having the following issue:
When opening the GWT DialogBox on the page that contains the SmartGwt DynamicForm, the DynamicForm fields are not hidden by the DialogBox.
That is if you drag the dialog box over the form, the form fields appear on top of the dialog box, instead of being abstracted by it.

Any ideas on why this is happening.

Here is a little test scenario:

    private void testDynamicForm(){
        //Create the dymanic form
        final DynamicForm form = new DynamicForm();
        form.setUseAllDataSourceFields(true);
        form.setWidth(300);
        TextItem textItem = new TextItem();
        textItem.setName("textItem");
        form.setFields(textItem);

        //Create the simple dialog box
        final DialogBox dialogBox = new DialogBox();
        dialogBox.setTitle("Test DialogBox");
        dialogBox.setModal(true);
        Button closeButton = new Button("CloseDialogBox",
                new ClickHandler() {
                    public void onClick(ClickEvent sender) {
                        dialogBox.hide();
                    }
                });
        dialogBox.setWidget(closeButton);
        Button openButton = new Button("OpenDialogBox",
                new ClickHandler() {
                    public void onClick(ClickEvent sender) {                        
                        dialogBox.show();
                    }
                });

        VerticalPanel layout = new VerticalPanel();
        layout.add(form);
        layout.add(openButton);
        RootPanel.get("mainViewContainer").add(layout);
    }

This issue occurs with ListGrid as well.

Actually it seems that this issue effects all the SmartGwt componenets.
They all display on top of the GWT dialogbox.