fix double click required to open modal issue.

Closes #96