I had a customer requirement where he wanted to add a check-in button on the Edit form of a document library. So that as soon as the required metadata is added to the item, the user can select to check-in the document instead of first clicking the OK