Added documentation for modal widget