remove excess buttons on modal