Added default modal close text. Added additional variable to check if close button is hidden so it is visible by default.