Further developed AddPage functionality from ImageProcessingDialog