added modal and result page