Fix invisible button dialogue bug