Bad layer dialog improvements (Funded by Sourcepole)