Added first version of manual lending popup and its integration