Dakota Johnson recalls the time she had a panic attack