Keary backs Flanagan to succeed at Dogs