made merge dialog application modal