This comment has not yet been addressed. The comment "Closes the search dialog and resolves the promise that showDialog returned" is no longer accurate.