changes for Modal