fixing actual result not being removed from modal