Improved modal dialogue layouts