mark toplevel prompt as readonly