Format and fix documentation for the Modal-pattern.