Tilovell/1461 make cancel button work on verify package page

Fixes #1461