changing the modal view buttons