how will the parent component know that the docked modal was closed? Is there some callback that I need to pass to it?