Add new window behavior