Add function to keep focus in modal when tabbing through

When tabbing through the modal the focus remains within the modal
and re-starts at the beginning when it reaches the last tabbable
element within the modal.

Closes #26.