Implement app:draft mode into atom api