Add code for Add X buttons.