Work on new window dialog