Unified close button for all types of modals
Updated docs for captions and modals