Fix modal bug on gtom button.