Correctly the panel's autohide modes (bug #11359)

Instead of blocking the panel's autohiding when showing the
properties-dialog (which most other panel plugins don't do)
it should block the autohiding when the calendar is shown.