Added click listener for open button.