Fix markup in options

That's just sloppy.
Fix hanging div
Move warning div inside conditional

Prevents bordered div from appearing when no warning is raised.