put on UI thread and make helper function probably in abstract class so that inheriting activities can simply call dismiss/show with message without worrying about threading