Added visibility attributes to element widgets

So one can hide and restore them.
Closing a backside when frontside is missing

Now doesn't just show the frontside but adds it properly to the
backside.