Fixed the problem with open on all clicks.