fixed visibility on buttons + dialog window