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