return this.addWindow(name, windowPath, (WindowCallback) null);
}
@Override
public Window addWindow(String name, String windowPath, final Map<String, Object> attributes) {
WindowCallback callback = null;
if (attributes != null && attributes.size() > 0) {
callback = new WindowCallback() {
@Override
public void beforeSubmit(Window window) {
synchronized (attributes) {
for (Map.Entry<String, Object> entry : attributes.entrySet()) {