fix modal/dash link double event problem