Input and output now appear in modal