Added dialog box and initial code for the set life editbox