replaced textarea with prompt, simplified resize code