Added clarifying comments per code review
Update scroll pos/selection synchronously after ModalBar.close() starts rather than on a timeout