use css positioning to defeat the hiding close button

for @sujitbehera27
i thought something simple like this might work
fixes #906
fixes #899
replaces and closes #918