Modal visibility

Might fix the the text box auto focus bollocks