fix delete modal bug