Fix cancel in data in use from deleting

Regression introduced in "Give support to data in use exception for in-place booleans"
Also added opt parameter to restore hidden required by cancel button from in-place.

No changelog as current changeset applies to unreleased "Give support to data in use exception for in-place booleans" entry.