Revert "added ui compilation and correct bug calling about dialog"

This reverts commit a0423babb62304dbdbbcbef8d1c4fb635ee5b5c0.