now it can use an id to cache the modal