Implement Batabase and Resource Dialog ui's.