remove required fields
fix validation and update input fields after closing dialog.
first version of getting draft blog posts from data.