Added close option for flash messages to docs