modernize custom layout ui