test: Factorize PCP settings dialog closing
test: Factorize PCP settings dialog closing

mvollmer/cockpit,martinpitt/cockpit,mvollmer/cockpit,cockpit-project/cockpit,martinpitt/cockpit,cockpit-project/cockpit,martinpitt/cockpit,mvollmer/cockpit,martinpitt/cockpit,cockpit-project/cockpit,martinpitt/cockpit,mvollmer/cockpit,cockpit-project/cockpit,mvollmer/cockpit,cockpit-project/cockpit