CSS output tidy up + modal test code.