center the dialog and fixed exam clock