Adding markup for scaled custom layout modal.