Form is not displayed on click of edit/preview button.