Fixed vertical modal rendering code position