Changed all inputboxes so that they pop up in a relevant spot