added behavior: after I go out of the modal, the focus goes back to the first input of the primary bucket item