fixed doubled reopening of plugin menu