You can call dialog logic if start a method instead of an event like this:
<p:idleMonitor timeout="5000">
<p:ajax event="idle" listener="#{logic.idle()}" update="form" />
</p:idleMonitor>
[monitorExample][1]![monitor screenshot][1]
[1]: http://answers.axonivy.com/upfiles/idleMonitor.pnghttp://answers.axonivy.com/upfiles/idleMonitor_C7Qcf9w.png