Add modal functionality for icons