improved layout of modal, controls, made mobile friendly