Clear modal after close (harder than it seems)