Fix the bug with cancel button not working on package/release deletion package