debug modal dialog UI correction