fix(interimElement): make cancel and hide not fail when no element is shown