[PageScreen] Add option to choose in which format to save.

Also makes the dialog less confusing whether the image was saved
or not.

Closes #902