Adding cancel button to registry form