Step by step to basic functionality of modal forms

I have brought it to a stage where it would be easy for you to make it to completion as all basic pieces are working.