When i use the code from the snippet i cant open a dialog in my contentapp using this snippet. i have added my tomcat errorLog .