New modal javascript contract feature added