Updated documentation for new modal mode and modal post hook