Close and edit buttons