uppercase text and fix dialog popup