Fixed an issue where modals without an owner field were still executing autocomplete logic (and throwing an error)