fix(modal): give a reason of rejection when escape key pressed

Fixes #1956
Closes #1991
docs(typeahead): add `typeahead-on-select` callback parameters

Closes #2047