keeping aspect ratio in new document dialog