modal component editing adjustments for handling xblock-owned buttons