patch by Pieter Grimmerink: fix 'cancel' when editing the service reference in a...