Added default visibility to false and added DialogBox