UI: Shift modal wrapper into mvc library