docs(modal): fix Markdown markup for augmented methods

Without leading and trailing blank lines, the source is not marked up
as a list.

Closes #2107