fix(modal): focus freshly opened modal

Closes #1187