Migrated lightbox to jquery modal, added close method for oauth, added retry ajax after modal close.