Stable6 legacy settings popup

Stable6 version of https://github.com/owncloud/core/pull/5968 – it’s just a small fix, but most likely only relevant for stable6 anyway since Calendar will switch to the slide-out settings in ownCloud 7.

Only merge in **after the ownCloud 6 release**. Check it @owncloud/designers