set initial state of messagebox to ‘hidden’