Add hidden class on the modal.