Fixes name form dialog bug