When an account register was open in it's own window, window focus could be lost when deleting and duplicating transactions.