Fixing front end dialog issue