WIP: staff locking

STUD-1873
Test for cancel of confirmation dialog.