Fix notice. #1383

New window option is #type=hidden instead of removed entirely, since other forms or validate functions may expect it to exist