start gallery modal system + update docs
optimize gallery + modal logic and markup