Pause, resume focus and dialog messages bug fixed. resolves #147