fix open diagram refresh button