Use dialog parent for cpaster dialogs

Change-Id: I2561d74522b70bc81345ab9beb60ec7242045509
Reviewed-by: hjk <hjk121@nokiamail.com>