turn safemode into a proper widget