dismiss view controller method changed (2)