Improved modal example