add 'New' button and then clicked open new window