added confirmation and declaration to flow, added interactivity to apply page