trying to destroy modal once closed for reset