Mark function asks for confirmation and uses basename of directory when no argument is given