added edit button on show and removed extra footer