I use <cq:include> to include a component, which has a dialog. I want to disable the dialog dynamcally based on some condition, i.e. not allow the author to open the dialog when he double-click on the component. How can I achieve that easily?
Thanks,