Added click event for a.inplace and a.iframe classes