Moved hidden modal div to app layout.