This MR adds option for selecting predefined page sizes using the same template selector as on "New Image" dialog.